<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <input type="text" v-model="msg">
    <span v-text="msg"></span>
    <span v-html></span>
</div>
</body>
<script src="https://cdn.bootcss.com/vue/2.2.2/vue.min.js"></script>
<script>
    var vm = new Vue({
        el:'#app',
        data:{
            msg:'<h1>hhhhhhhhh</h1>',
        }
    })
</script>
</html>